class AddEcaseIdToEvents < ActiveRecord::Migration
  def self.up
    execute 'ALTER TABLE events ADD COLUMN ecase_id int(11) NOT NULL REFERENCES ecases(id)'
  end

  def self.down
    execute 'ALTER TABLE events DROP COLUMN ecase_id'
  end
end
